# encoding: utf-8
# module PyQt5.QtCore
# from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import sip as __sip


from .QFileDevice import QFileDevice

class QSaveFile(QFileDevice):
    """
    QSaveFile(str)
    QSaveFile(QObject parent=None)
    QSaveFile(str, QObject)
    """
    def cancelWriting(self): # real signature unknown; restored from __doc__
        """ QSaveFile.cancelWriting() """
        pass

    def close(self, *args, **kwargs): # real signature unknown
        pass

    def commit(self): # real signature unknown; restored from __doc__
        """ QSaveFile.commit() -> bool """
        return False

    def directWriteFallback(self): # real signature unknown; restored from __doc__
        """ QSaveFile.directWriteFallback() -> bool """
        return False

    def fileName(self): # real signature unknown; restored from __doc__
        """ QSaveFile.fileName() -> str """
        return ""

    def open(self, QIODevice_OpenMode): # real signature unknown; restored from __doc__
        """ QSaveFile.open(QIODevice.OpenMode) -> bool """
        return False

    def setDirectWriteFallback(self, bool): # real signature unknown; restored from __doc__
        """ QSaveFile.setDirectWriteFallback(bool) """
        pass

    def setFileName(self, p_str): # real signature unknown; restored from __doc__
        """ QSaveFile.setFileName(str) """
        pass

    def writeData(self, p_str): # real signature unknown; restored from __doc__
        """ QSaveFile.writeData(str) -> int """
        return 0

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


